package com.daedalus.Inheritanca.Administrata;
/*
 * Created with IntelliJ IDEA.
 * Author: Kostika Gorica
 * Date: 12-12-18
 * Time: 3.51.MD
 */

abstract class Punonjes {
    protected String emri;
    protected String mbiemri;
    protected double rroga;

    public Punonjes(String emri, String mbiemri, double rroga) {
        this.emri = emri;
        this.mbiemri = mbiemri;
        this.rroga = rroga;
    }

    abstract double getEarnings();
}
